package cn.mazexal.examapi.models.db;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;

/**
 * 用户VIP添加记录
 *
 */
@Data
@TableName(value = "user_vip_log")
public class UserVipLogDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;


	@TableField(value = "exam_bank_id")
	private String examBankId;

	/**
	 *
	 */
	@TableField(value = "config_id")
	private Long configId;

	/**
	 * 
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 * 来源
	 */
	@TableField(value = "from_type")
	private Integer fromType;

	/**
	 * 
	 */
	@TableField(value = "duration")
	private Integer duration;

	/**
	 * 
	 */
	@TableField(value = "unit")
	private Integer unit;

	/**
	 * 
	 */
	@TableField(value = "vip_expire_time")
	private Long vipExpireTime;

	/**
	 * 
	 */
	@TableField(value = "cost_money")
	private BigDecimal costMoney;

	/**
	 * 
	 */
	@TableField(value = "create_time")
	private Long createTime;

	/**
	 * 订单ID
	 */
	@TableField(value = "order_id")
	private Long orderId;

}